//
//  NetworkConfiguration.h
//  SLDemo
//
//  Created by bocai on 2016/12/5.
//  Copyright © 2016年 Heracles. All rights reserved.
//

#ifndef NetworkConfiguration_h
#define NetworkConfiguration_h

//  网络请求方式
typedef NS_ENUM(NSUInteger, NetworkHTTPMethod) {
    NetworkHTTPMethodGET,
    NetworkHTTPMethodPOST,
};

//  加密方式
typedef NS_ENUM(NSUInteger, NetworkEncodeMethod) {
    NetworkEncodeMethodNormal,
    NetworkEncodeMethodException
};

//  解密方式
typedef NS_ENUM(NSUInteger, NetworkDecodeMethod) {
    NetworkDecodeMethodNormal,
    NetworkDecodeMethodException
};

static const NetworkEncodeMethod kDefaultEncodeMethod = NetworkEncodeMethodNormal;
static const NetworkDecodeMethod kDefaultDecodeMethod = NetworkDecodeMethodNormal;
static NSString *const kDefaultVersion = @"";

#define kDefaultCommonParameters @{}

#endif /* NetworkConfiguration_h */
